package com.zmc.coupon.feign;

import com.zmc.common.domain.query.coupon.CouponEsFeignQuery;
import com.zmc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author：zmc
 * @Date：2024/12/27 16:02
 */

@FeignClient("mall-search")
public interface SearchFeignService {


    /**
     * 促销中心查询sku列表
     * */
    @PostMapping("/search/product//coupon/list")
    public R skuCouponSearch(@RequestBody CouponEsFeignQuery query);
}
